package com.dianxin.farm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author xukai
* @since 2020-11-30
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @ApiModel(value="EnterpriseInfo对象", description="")
    public class EnterpriseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "ID")
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "机构标识")
    private String identification;

            @ApiModelProperty(value = "企业名称--公司名称")
    private String enterpriseName;

            @ApiModelProperty(value = "公司简介")
    private String profile;

            @ApiModelProperty(value = "企业LOG")
    private String imgUrl;

            @ApiModelProperty(value = "营业执照号")
    private String businessLicenseNo;

            @ApiModelProperty(value = "企业法人")
    private String legalPerson;

            @ApiModelProperty(value = "注册地址")
    private String registerAddress;

            @ApiModelProperty(value = "公司实际地址")
    private String realAddress;

            @ApiModelProperty(value = "银行卡号")
    private String bankCard;

            @ApiModelProperty(value = "税号")
    private String taxNum;

            @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;

            @ApiModelProperty(value = "企业电话")
    private String mobile;

            @ApiModelProperty(value = "联系人姓名")
    private String linkman;

            @ApiModelProperty(value = "联系人电话")
    private String linkPhone;

            @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

            @ApiModelProperty(value = "父级id，即此表主键。")
    private Integer parentId;

            @ApiModelProperty(value = "是否子公司 1 是  0 否")
    private Integer father;

    private String qrContent;

            @ApiModelProperty(value = "管理账号id")
    private Integer managerId;

            @ApiModelProperty(value = "企业账户余额")
    private BigDecimal balance;


}
